/*  1:   */ package org.jetbrains.jps.model.serialization.artifact;
/*  2:   */ 
/*  3:   */

import org.jdom.Element;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.jps.model.JpsElement;
import org.jetbrains.jps.model.JpsElementChildRole;

/*  4:   */
/*  5:   */
/*  6:   */
/*  7:   */
/*  8:   */ 
/*  9:   */ public abstract class JpsArtifactExtensionSerializer<E extends JpsElement>
/* 10:   */ {
/* 11:   */   private JpsElementChildRole<E> a;
/* 12:   */   private String b;
/* 13:   */   
/* 14:   */   protected JpsArtifactExtensionSerializer(String paramString, JpsElementChildRole<E> paramJpsElementChildRole)
/* 15:   */   {
/* 16:32 */     this.b = paramString;
/* 17:33 */     this.a = paramJpsElementChildRole;
/* 18:   */   }
/* 19:   */   
/* 20:   */   public JpsElementChildRole<E> getRole()
/* 21:   */   {
/* 22:37 */     return this.a;
/* 23:   */   }
/* 24:   */   
/* 25:   */   public String getId()
/* 26:   */   {
/* 27:41 */     return this.b;
/* 28:   */   }
/* 29:   */   
/* 30:   */   public abstract E loadExtension(@Nullable Element paramElement);
/* 31:   */   
/* 32:   */   public abstract void saveExtension(@NotNull E paramE, @NotNull Element paramElement);
/* 33:   */ }



/* Location:           E:\idea\

 * Qualified Name:     org.jetbrains.jps.model.serialization.artifact.JpsArtifactExtensionSerializer

 * JD-Core Version:    0.7.0.1

 */